3.1.5 \(\int \frac {(d+c d x) (a+b \text {arctanh}(c x))}{x} \, dx\) [5]

3.1.5.1 Optimal result
3.1.5.2 Mathematica [A] (verified)
3.1.5.3 Rubi [A] (verified)
3.1.5.4 Maple [A] (verified)
3.1.5.5 Fricas [F]
3.1.5.6 Sympy [F]
3.1.5.7 Maxima [F]
3.1.5.8 Giac [F]
3.1.5.9 Mupad [F(-1)]

3.1.5.1 Optimal result

Integrand size = 18, antiderivative size = 60 \[ \int \frac {(d+c d x) (a+b \text {arctanh}(c x))}{x} \, dx=a c d x+b c d x \text {arctanh}(c x)+a d \log (x)+\frac {1}{2} b d \log \left (1-c^2 x^2\right )-\frac {1}{2} b d \operatorname {PolyLog}(2,-c x)+\frac {1}{2} b d \operatorname {PolyLog}(2,c x) \]

output
a*c*d*x+b*c*d*x*arctanh(c*x)+a*d*ln(x)+1/2*b*d*ln(-c^2*x^2+1)-1/2*b*d*poly 
log(2,-c*x)+1/2*b*d*polylog(2,c*x)
 
3.1.5.2 Mathematica [A] (verified)

Time = 0.03 (sec) , antiderivative size = 57, normalized size of antiderivative = 0.95 \[ \int \frac {(d+c d x) (a+b \text {arctanh}(c x))}{x} \, dx=a c d x+b c d x \text {arctanh}(c x)+a d \log (x)+\frac {1}{2} b d \log \left (1-c^2 x^2\right )+\frac {1}{2} b d (-\operatorname {PolyLog}(2,-c x)+\operatorname {PolyLog}(2,c x)) \]

input
Integrate[((d + c*d*x)*(a + b*ArcTanh[c*x]))/x,x]
 
output
a*c*d*x + b*c*d*x*ArcTanh[c*x] + a*d*Log[x] + (b*d*Log[1 - c^2*x^2])/2 + ( 
b*d*(-PolyLog[2, -(c*x)] + PolyLog[2, c*x]))/2
 
3.1.5.3 Rubi [A] (verified)

Time = 0.26 (sec) , antiderivative size = 60, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {6502, 2009}

Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.

\(\displaystyle \int \frac {(c d x+d) (a+b \text {arctanh}(c x))}{x} \, dx\)

\(\Big \downarrow \) 6502

\(\displaystyle \int \left (c d (a+b \text {arctanh}(c x))+\frac {d (a+b \text {arctanh}(c x))}{x}\right )dx\)

\(\Big \downarrow \) 2009

\(\displaystyle a c d x+a d \log (x)+b c d x \text {arctanh}(c x)+\frac {1}{2} b d \log \left (1-c^2 x^2\right )-\frac {1}{2} b d \operatorname {PolyLog}(2,-c x)+\frac {1}{2} b d \operatorname {PolyLog}(2,c x)\)

input
Int[((d + c*d*x)*(a + b*ArcTanh[c*x]))/x,x]
 
output
a*c*d*x + b*c*d*x*ArcTanh[c*x] + a*d*Log[x] + (b*d*Log[1 - c^2*x^2])/2 - ( 
b*d*PolyLog[2, -(c*x)])/2 + (b*d*PolyLog[2, c*x])/2
 

3.1.5.3.1 Defintions of rubi rules used

rule 2009
Int[u_, x_Symbol] :> Simp[IntSum[u, x], x] /; SumQ[u]
 

rule 6502
Int[((a_.) + ArcTanh[(c_.)*(x_)]*(b_.))^(p_.)*((f_.)*(x_))^(m_.)*((d_) + (e 
_.)*(x_))^(q_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*ArcTanh[c*x])^p, ( 
f*x)^m*(d + e*x)^q, x], x] /; FreeQ[{a, b, c, d, e, f, m}, x] && IGtQ[p, 0] 
 && IntegerQ[q] && (GtQ[q, 0] || NeQ[a, 0] || IntegerQ[m])
 
3.1.5.4 Maple [A] (verified)

Time = 0.43 (sec) , antiderivative size = 73, normalized size of antiderivative = 1.22

method result size
parts \(a d \left (c x +\ln \left (x \right )\right )+b d \left (\ln \left (c x \right ) \operatorname {arctanh}\left (c x \right )+c x \,\operatorname {arctanh}\left (c x \right )+\frac {\ln \left (c x -1\right )}{2}+\frac {\ln \left (c x +1\right )}{2}-\frac {\operatorname {dilog}\left (c x +1\right )}{2}-\frac {\ln \left (c x \right ) \ln \left (c x +1\right )}{2}-\frac {\operatorname {dilog}\left (c x \right )}{2}\right )\) \(73\)
derivativedivides \(a d \left (c x +\ln \left (c x \right )\right )+b d \left (\ln \left (c x \right ) \operatorname {arctanh}\left (c x \right )+c x \,\operatorname {arctanh}\left (c x \right )+\frac {\ln \left (c x -1\right )}{2}+\frac {\ln \left (c x +1\right )}{2}-\frac {\operatorname {dilog}\left (c x +1\right )}{2}-\frac {\ln \left (c x \right ) \ln \left (c x +1\right )}{2}-\frac {\operatorname {dilog}\left (c x \right )}{2}\right )\) \(75\)
default \(a d \left (c x +\ln \left (c x \right )\right )+b d \left (\ln \left (c x \right ) \operatorname {arctanh}\left (c x \right )+c x \,\operatorname {arctanh}\left (c x \right )+\frac {\ln \left (c x -1\right )}{2}+\frac {\ln \left (c x +1\right )}{2}-\frac {\operatorname {dilog}\left (c x +1\right )}{2}-\frac {\ln \left (c x \right ) \ln \left (c x +1\right )}{2}-\frac {\operatorname {dilog}\left (c x \right )}{2}\right )\) \(75\)
risch \(-\frac {\ln \left (-c x +1\right ) b c d x}{2}+a c d x +\frac {\ln \left (-c x +1\right ) b d}{2}+\ln \left (-c x \right ) a d +\frac {\operatorname {dilog}\left (-c x +1\right ) b d}{2}-a d -b d +\frac {\ln \left (c x +1\right ) b c d x}{2}+\frac {\ln \left (c x +1\right ) b d}{2}-\frac {\operatorname {dilog}\left (c x +1\right ) b d}{2}\) \(90\)

input
int((c*d*x+d)*(a+b*arctanh(c*x))/x,x,method=_RETURNVERBOSE)
 
output
a*d*(c*x+ln(x))+b*d*(ln(c*x)*arctanh(c*x)+c*x*arctanh(c*x)+1/2*ln(c*x-1)+1 
/2*ln(c*x+1)-1/2*dilog(c*x+1)-1/2*ln(c*x)*ln(c*x+1)-1/2*dilog(c*x))
 
3.1.5.5 Fricas [F]

\[ \int \frac {(d+c d x) (a+b \text {arctanh}(c x))}{x} \, dx=\int { \frac {{\left (c d x + d\right )} {\left (b \operatorname {artanh}\left (c x\right ) + a\right )}}{x} \,d x } \]

input
integrate((c*d*x+d)*(a+b*arctanh(c*x))/x,x, algorithm="fricas")
 
output
integral((a*c*d*x + a*d + (b*c*d*x + b*d)*arctanh(c*x))/x, x)
 
3.1.5.6 Sympy [F]

\[ \int \frac {(d+c d x) (a+b \text {arctanh}(c x))}{x} \, dx=d \left (\int a c\, dx + \int \frac {a}{x}\, dx + \int b c \operatorname {atanh}{\left (c x \right )}\, dx + \int \frac {b \operatorname {atanh}{\left (c x \right )}}{x}\, dx\right ) \]

input
integrate((c*d*x+d)*(a+b*atanh(c*x))/x,x)
 
output
d*(Integral(a*c, x) + Integral(a/x, x) + Integral(b*c*atanh(c*x), x) + Int 
egral(b*atanh(c*x)/x, x))
 
3.1.5.7 Maxima [F]

\[ \int \frac {(d+c d x) (a+b \text {arctanh}(c x))}{x} \, dx=\int { \frac {{\left (c d x + d\right )} {\left (b \operatorname {artanh}\left (c x\right ) + a\right )}}{x} \,d x } \]

input
integrate((c*d*x+d)*(a+b*arctanh(c*x))/x,x, algorithm="maxima")
 
output
a*c*d*x + 1/2*(2*c*x*arctanh(c*x) + log(-c^2*x^2 + 1))*b*d + 1/2*b*d*integ 
rate((log(c*x + 1) - log(-c*x + 1))/x, x) + a*d*log(x)
 
3.1.5.8 Giac [F]

\[ \int \frac {(d+c d x) (a+b \text {arctanh}(c x))}{x} \, dx=\int { \frac {{\left (c d x + d\right )} {\left (b \operatorname {artanh}\left (c x\right ) + a\right )}}{x} \,d x } \]

input
integrate((c*d*x+d)*(a+b*arctanh(c*x))/x,x, algorithm="giac")
 
output
integrate((c*d*x + d)*(b*arctanh(c*x) + a)/x, x)
 
3.1.5.9 Mupad [F(-1)]

Timed out. \[ \int \frac {(d+c d x) (a+b \text {arctanh}(c x))}{x} \, dx=\int \frac {\left (a+b\,\mathrm {atanh}\left (c\,x\right )\right )\,\left (d+c\,d\,x\right )}{x} \,d x \]

input
int(((a + b*atanh(c*x))*(d + c*d*x))/x,x)
 
output
int(((a + b*atanh(c*x))*(d + c*d*x))/x, x)